package main.offender;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * 
 * @author andreas faltermaier
 *
 */

public class OffenderTest {

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testEquals() {
		Offender offender1 = new Offender("Hans",null);
		Offender offender2 = new Offender("Peter",null);
		assertTrue(offender1.equals(offender1));
		assertFalse(offender2.equals(offender1));
	}

}
